home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17103 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.2 KB  |  34 lines

  1. Newsgroups: comp.lang.c++
  2. Path: newsfeed.internetmci.com!miwok!linex1!news
  3. From: mfried@linex.com (Marty Fried)
  4. Subject: Re: "Pure virtual function called" error with Sparcworks
  5. X-Nntp-Posting-Host: sp106.linex.com
  6. Message-ID: <316ff506.4757389@news.linex.com>
  7. Sender: news@linex1.linex.com
  8. Organization: Cirrius Cybernetics Corp
  9. X-Newsreader: Forte Agent .99e/32.209
  10. References: <316B8607.41C67EA6@jpmorgan.com>
  11. Date: Sat, 13 Apr 1996 18:44:04 GMT
  12.  
  13. Once upon a time (OK, it was Wed, 10 Apr 1996 10:57:27 +0100), Oliver
  14. Peck <peck_oliver@jpmorgan.com> wrote:
  15.  
  16. >I am using V4.0.1 of the Sparcworks C++ compiler.
  17. >
  18. >A program is occasionally crashing with the message:-
  19. >
  20. >"****  Pure virtual function called"
  21. >
  22. >Does anyone know what this may mean?
  23.  
  24. Probably that a pure virtual function was called <g>.  By definition,
  25. a pure virtual function is one that must be overridden by any derived
  26. classes - you can't call the base class function.  It is only defined
  27. in the base class so that the base class will have a way to call the
  28. derived function.  
  29.  
  30. _______________________________________________________
  31. Marty Fried - mfried@linex.com     Press Enter to Exit
  32. San Anselmo, CA                           -NT message
  33. (MSVC4 + MFC) && (Win95 || NT);             
  34.